package com.sqx.modules.creation.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class GetReplyListVo {

    /**
     * 创作评论id
     */
    @TableId(value = "creation_comment_id", type = IdType.AUTO)
    private Integer creationCommentId;

    @TableField("user_id")
    private Integer userId;

    private String userName;

    private String userAvatar;
    /**
     * 创作id
     */
    @TableField("creation_id")
    private Integer creationId;

    /**
     * 评论内容
     */
    @TableField("comment_content")
    private String commentContent;

    /**
     * 点赞数
     */
    @TableField("good_num")
    private Integer goodNum;

    /**
     * 是否点赞：0未点赞1点赞
     */
    private Integer isGood;


    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;



    private List<CommentReplyVo> commentReplyVos;
}
